package com.baizhi.entity;

import java.io.Serializable;

public class Student implements Serializable {
    private String StudentName;
    private String age;
    private Address addr;

    public Student() {
    }

    public Student(String studentName, String age, Address addr) {
        StudentName = studentName;
        this.age = age;
        this.addr = addr;
    }

    public String getStudentName() {
        return StudentName;
    }

    public String getAge() {
        return age;
    }

    public Address getAddr() {
        return addr;
    }

    public void setStudentName(String studentName) {
        StudentName = studentName;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public void setAddr(Address addr) {
        this.addr = addr;
    }

    @Override
    public String toString() {
        return "Student{" +
                "StudentName='" + StudentName + '\'' +
                ", age='" + age + '\'' +
                ", addr=" + addr +
                '}';
    }
}
